package com.example.commandpattern.entity;

/**
 * @author ash
 * @description
 * @create 2023/2/22  22:09:18
 * @className ConcreteCommandB
 * @verson 1.0.0
 */
public class ConcreteCommandB extends Command{

    public ConcreteCommandB(Receiver receiver) {
        super(receiver);
    }

    @Override
    public void execute() {
        receiver.action2();
    }
}
